package com.yunke.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yunke.common.base.YunkeBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 社交圈点赞实体类
 * 
 * @author yunke
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("dz_circle_like")
@Schema(description = "社交圈点赞")
public class YunkeCircleLike extends YunkeBaseEntity {

    /**
     * 点赞用户ID
     */
    @Schema(description = "点赞用户ID")
    private Long userId;

    /**
     * 点赞目标ID（动态ID或评论ID）
     */
    @Schema(description = "点赞目标ID（动态ID或评论ID）")
    private Long targetId;

    /**
     * 点赞类型：1-动态点赞 2-评论点赞
     */
    @Schema(description = "点赞类型：1-动态点赞 2-评论点赞")
    private Integer type;

    /**
     * 状态：0-已取消 1-已点赞
     */
    @Schema(description = "状态：0-已取消 1-已点赞")
    private Integer status;

    /**
     * IP地址
     */
    @Schema(description = "IP地址")
    private String ipAddress;
} 